using System;
using System.Collections.Generic;

namespace ConsoleApplication2.Models
{
    public partial class ItemType
    {
        public ItemType()
        {
            this.ItmCategs = new List<ItmCateg>();
            this.SITMTYPEs = new List<SITMTYPE>();
            this.TransferDets = new List<TransferDet>();
            this.TypeCoverageExcepts = new List<TypeCoverageExcept>();
            this.TypePriceExcepts = new List<TypePriceExcept>();
        }

        public int ID { get; set; }
        public string NAME { get; set; }
        public Nullable<short> BILLORDER { get; set; }
        public Nullable<short> CRITERIA { get; set; }
        public Nullable<bool> INVENTORY { get; set; }
        public string REVACCT { get; set; }
        public string INVACCT { get; set; }
        public string COSACCT { get; set; }
        public string PRMCHGACCT { get; set; }
        public Nullable<bool> PROTECTED { get; set; }
        public string CODE { get; set; }
        public Nullable<byte> TYPEORD { get; set; }
        public Nullable<bool> SHOWTYPE { get; set; }
        public string CUSTOM1 { get; set; }
        public string CUSTOM2 { get; set; }
        public string CUSTOM3 { get; set; }
        public string CUSTOM4 { get; set; }
        public string CUSTOM5 { get; set; }
        public Nullable<bool> IBUY { get; set; }
        public Nullable<bool> ISELL { get; set; }
        public bool LABTEST { get; set; }
        public bool RADIOLOGY { get; set; }
        public byte REQ_TYPE { get; set; }
        public string File_Primary_Key { get; set; }
        public Nullable<bool> EXPIRYDATEENABLED { get; set; }
        public Nullable<bool> VAT { get; set; }
        public bool LEFTTRAILINGZEROSENABLED { get; set; }
        public bool ChkConsultant { get; set; }
        public Nullable<bool> DENTAL { get; set; }
        public Nullable<byte> Pharmacy { get; set; }
        public Nullable<short> cstctrid { get; set; }
        public bool Fixedasset { get; set; }
        public string GuarDiscAcct { get; set; }
        public Nullable<int> frs { get; set; }
        public Nullable<byte> Chartable { get; set; }
        public string CodeName { get; set; }
        public Nullable<byte> OrderType { get; set; }
        public string itp_InvAcctWithVAT { get; set; }
        public string IT_TP_Order { get; set; }
        public virtual Acct Acct { get; set; }
        public virtual Acct Acct1 { get; set; }
        public virtual Acct Acct2 { get; set; }
        public virtual Acct Acct3 { get; set; }
        public virtual itemcrit itemcrit { get; set; }
        public virtual ICollection<ItmCateg> ItmCategs { get; set; }
        public virtual ICollection<SITMTYPE> SITMTYPEs { get; set; }
        public virtual ICollection<TransferDet> TransferDets { get; set; }
        public virtual ICollection<TypeCoverageExcept> TypeCoverageExcepts { get; set; }
        public virtual ICollection<TypePriceExcept> TypePriceExcepts { get; set; }
    }
}
